package com.tancw.cloud.order.service;

import com.tancw.cloud.common.Result;
import com.tancw.cloud.order.entity.Order;
import org.apache.dubbo.config.annotation.DubboService;

/**
 * 订单服务接口
 */
@DubboService
public interface OrderService {
    
    /**
     * 创建订单
     */
    Result<Order> createOrder(Order order);
    
    /**
     * 根据ID查询订单
     */
    Result<Order> getOrderById(Long id);
}